package com.albaba.designpattern.memento.text_001;

/**
 * @Description: 负责人类，获取和保存备忘录对象
 * @Author zx
 * @Date 2025/2/27 15:33
 * @Version 1.0
 */
public class Caretaker {

    private Memento memento;

    public Memento getMemento() {
        return memento;
    }

    public void setMemento(Memento memento) {
        this.memento = memento;
    }
}
